home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / libs / gle / util / manip / a.c next >
Encoding:
C/C++ Source or Header  |  1992-11-29  |  1.1 KB  |  64 lines

  1. #include "all.h"
  2. #include "edt.h"
  3. #ifdef __TURBOC__
  4. #define DASHCHAR 249
  5. #include <alloc.h>
  6. #include "bios.h"
  7. #include "conio.h"
  8. #include "dir.h"
  9. #else
  10. #define DASHCHAR '.'
  11. #include "vaxconio.h"
  12. #endif
  13.  
  14. #define true (!false)
  15. #define false 0
  16. #define BCOLOR BLUE
  17. #define FCOLOR MAGENTA
  18. /* function prototypes */
  19.  
  20. /*
  21. manip /com=a.a
  22.  
  23.     refresh screen.
  24.     edit cell mode,
  25.     command mode.
  26.     arrow keys scroll screen.
  27.  
  28.     data cell:range
  29.     cell:range = expression
  30.     expressions,       c,r,x,y,c1..cn,r1..rn,sum(range),
  31.             c(x-1,y) = c(x,y)
  32.  
  33. */
  34. /* global stuff */
  35. int gle_debug;
  36. int moving_x,moving_y;
  37. int data_x;
  38. int data_y;
  39. int changed;
  40. extern int islogging;
  41. extern int isating;
  42. /* local stuff */
  43. int iserr,dont_clear;
  44. int scr_frow=1,scr_fcol=1;
  45. int scr_width=76,scr_colwidth=8;
  46. int scr_ncol;
  47. int scr_nrow=18;
  48. int curx,cury;
  49. int max_x=0,max_y=0;     /* change to 1,1 */
  50.  
  51. int scr_blackwhite;
  52. int exit_manip;
  53. char file_name[80];
  54. int in_recover,single_step;
  55. /*---------------------------------------------------------------------------*/
  56. main(int argc, char **argv)
  57. {
  58.     int i;
  59.     char ans[90];
  60.     int cmd;
  61.  
  62.     printf("dopasscmd, atof {%s} %g \n","123",atof("123")); getch();
  63. }
  64.